package com.tuanzi.loan.vo.view.pageTemplate;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

/**
 * @Auther: hequnayu
 * @Date: 2019/9/17 11:29
 * @Description:
 */
@Data
public class LoanPageTemplateInfoView {
    private Long id;
    private String name;
    private String parentId;
    private Integer status;
    private Boolean substitute;

    private Integer userType;
    private Set<String> selectedOnlineProducts;
    private List<ModuleItem> gloablModuleItems = new ArrayList<>(); //通用
//    private List<ModuleItem> userModuleItems = new ArrayList<>(); //用户类型模块集合
    private List<ModuleItem> showUserModuleItems = new ArrayList<>(); //用户类型模块集合


    @Data
    public static class ModuleItem{
//        private String name;
        private Integer position;
        private Integer moduleId;
        private Integer showTitle;
        private String title;
        private Integer groupId;
        private Integer spaceId;
        private Integer userType;
    }
}
